package com.admin.vo.system;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("AdminRoleVO(管理员角色关系)")
public class AdminRoleVO {

    /**
     * 关系id
     */
    @ApiModelProperty(value = "关系id", required = true)
    private Long id;

    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户id", required = true)
    private Integer userId;

    /**
     * 角色ID
     */
    @ApiModelProperty(value = "角色id", required = true)
    private Long roleId;

    @ApiModelProperty(value = "角色名称", required = true)
    private String roleName;

    /**
     * 获取
     * 
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置
     * 
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取用户ID
     * 
     * @return user_id 用户ID
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置用户ID
     * 
     * @param userId 用户ID
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取角色ID
     * 
     * @return role_id 角色ID
     */
    public Long getRoleId() {
        return roleId;
    }

    /**
     * 设置角色ID
     * 
     * @param roleId 角色ID
     */
    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }
}